edu.stanford.smi.protege.model
Class BrowserSlotPattern
java.lang.Object
edu.stanford.smi.protege.model.BrowserSlotPattern
public class BrowserSlotPattern
- extends Object
- Author:
- Ray Fergerson
BrowserSlotPattern
public BrowserSlotPattern(Slot slot)
BrowserSlotPattern
public BrowserSlotPattern(List elements)
isSimple
public boolean isSimple()
getFirstSlot
public Slot getFirstSlot()
getSerialization
public String getSerialization()
createFromSerialization
public static BrowserSlotPattern createFromSerialization(KnowledgeBase kb,
String s)
contains
public boolean contains(Slot slot)
getElements
public List getElements()
equals
public boolean equals(Object o)
- Overrides:
equals in class Object
hashCode
public int hashCode()
- Overrides:
hashCode in class Object
getSlots
public List<Slot> getSlots()
replaceSlot
public void replaceSlot(Slot oldSlot,
Slot newSlot)
getBrowserText
public String getBrowserText(Instance instance)
toString
public String toString()
- Overrides:
toString in class Object
Submit a bug report or feature request
Protégé is a trademark of Stanford University.
Copyright (c) 1998-2012 Stanford University.